package com.ssy.lingxi.contract.esign.exception;

/**
 * e签宝异常
 * @author yzc
 * @version 2.0.0
 * @date 2020/8/26
 */
public class EsignException extends Exception {

    private static final long serialVersionUID = 3941501374761069844L;

    EsignError error;


    public EsignException(EsignError error) {
        super(error.getErrMsg());
        this.error = error;
    }

    public EsignError getError() {
        return error;
    }

    public void setError(EsignError error) {
        this.error = error;
    }
}
